package com.ylyq.ylxx.model.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @ClassName OceanengineUploadFileImage
 * @Description TODO
 * @Author xiaweichao
 * @Date 2020/7/22 14:34
 * @Version 1.0
 */
@NoArgsConstructor
@Data
@ApiModel(value = "上传图片素材的返回参数")
public class OceanengineUploadFileImage {
    private String message;
    private int code;
    private DataBean data;
    private String request_id;

    @NoArgsConstructor
    @Data
    @ApiModel(value = "上传图片素材的返回参数实体")
    public static class DataBean {
        @ApiModelProperty(value = "图片ID")
        private String id;
        @ApiModelProperty(value = "图片大小")
        private Long size;
        @ApiModelProperty(value = "图片宽度")
        private Long width;
        @ApiModelProperty(value = "图片高度")
        private Long height;
        @ApiModelProperty(value = "图片预览地址(1小时内有效)")
        private String url;
        @ApiModelProperty(value = "图片格式")
        private String format;
        @ApiModelProperty(value = "图片md5")
        private String signature;
        @ApiModelProperty(value = "素材id，即多合一报表中的素材id，一个素材唯一对应一个素材id")
        private Long material_id;
    }
}
